import celerityTableDesign from '../celerityTablePageView/celerityTableDesign.vue'
import celerityTablePage from '../celerityTablePageView/celerityTablePage.vue'
import celeritySudokuLayout from '../celerityTablePageView/celeritySudokuLayout.vue'
const components = [
	celerityTableDesign
	celerityTablePage,
	celeritySudokuLayout
]

// vue.user
const install =(Vue)=>{
	components.forEach(component => {
		Vue.component(component.name, component)
	})
}

if (typeof window !== 'undefined' && window.Vue) {
	//通过`script`标签引入的情况，在组件内部完成组件注册。
	install(window.Vue);
}

export {
  install,
  celerityTableDesign
  celerityTablePage,
  celeritySudokuLayout
}

export default {
  install,
  celerityTableDesign
  celerityTablePage,
  celeritySudokuLayout
}
